Skip to content

Conversation

@neilberkman
Copy link
Contributor

Adds a test that reproduces the bug where POST requests with bodies >64KB fail when using protocols: [:http1, :http2].

The failing test is marked with @tag :skip. Two passing control tests confirm HTTP/2-only and HTTP/1-only configurations work correctly with large bodies.

Relates to #265

Reproduces the bug where POST requests with bodies >64KB fail when using
protocols: [:http1, :http2] due to HTTP/2 flow control not being implemented
in the HTTP/1 pool.

The failing test is marked with @tag :skip for future work. Two passing
control tests confirm HTTP/2-only and HTTP/1-only configurations work correctly.
Change 65535 to 65_535 to comply with Credo's readability check that
numbers larger than 9999 should use underscore separators.
@sneako
Copy link
Owner

sneako commented Oct 24, 2025

Thank you!

@sneako sneako merged commit 6d1d6f1 into sneako:main Oct 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants